package la.iok.hzsvn.lewin.movie.cloud.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(SmsConfig.SmsProperties.class)
public class SmsConfig {
    @ConfigurationProperties("app.sms")
    public static final class SmsProperties {
        private String account = "763364";
        private String password = "r(7/ZOU*m^mO$^iJ";

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }
    }
}
